<%-- 
    Document   : index
    Created on : 14/11/2013, 06:12:20 AM
    Author     : Edgar Augusto A
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<link rel="shortcut icon" href="images/icono2.ico" type="image/x-icon">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Universidad del Valle Sede Zarzal</title>
<meta name="Description" content="FCT01 by SymiSun* is an open source XHTML 1.0 and CSS valid template, released under the creative commons license." />
<meta name="Keywords" content="symisun, symisun*, free css template, valid xhtml template, open source template, free xhtml template, ftc01, symisun 01" />
<link rel="stylesheet" media="screen" href="style.css" />
<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" /><!-- custom favicon -->
<meta name="Author" content="SymiSun* - symisun.com" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="imagetoolbar" content="no" /><!-- disable IE's image toolbar -->
<link rel="stylesheet" href="css/style.css">
</head>

<body>
<div id="daddy">
	<div id="header">
            <div id="logo"><a href="./"><img src="images/idx-logouv.gif" alt="Universidad del Valle Sede Zarzal"  /></a><span id="logo-text"><a href="./"></a></span></div><!-- logo -->
		<div id="menu">
			 
    <nav>
      <ul class="nav">
        <li class="active"><a href="index.jsp" class="nav-icon" title="Home"><span class="icon-home">Home</span></a></li>
        <li><a href="index.html" title="Products">producto</a></li>
        <li><a href="index.html" title="Support">soporte</a></li>
        <li><a href="index.html" title="Training">algo</a></li>
        <li><a href="index.html" title="About">acerca</a></li>
        <li><a href="index.html" title="Blog">Blog</a></li>
        <li><a href="cerrar.jsp" title="Contact">Cerrar sesion</a></li>
      </ul>
    </nav>

		</div><!-- menu -->
		<div id="ticker">
                    <div style="width: 200px;position: absolute">Zarzal Valle del Cauca - Colombia</div>
                    <div style="width:auto;position: inherit;text-align: right;text-decoration: none"><a href="http://www.univalle.edu.co/busquedas.html"><img src="img/busca.png">Buscar</a>&nbsp;|&nbsp;<a href="http://www.univalle.edu.co/directorio/"><img src="img/directorio.png">Directorio</a>&nbsp;|&nbsp;<a href="http://biblioteca.univalle.edu.co/"><img src="img/bibliotecauno.png">Biblioteca</a></div>
		</div><!-- ticker -->
		<div id="headerimage">
			<!--<div id="download"><span id="download-text"><a href="http://www.symisun.com/index.php?dl_id=1">download this amazing<br />CSS template for FREE!</a></span></div>-->
			<div id="icons">
				<a href="./" ><img src="images/icon_home.gif" alt="Home" width="13" height="13" id="home" /></a>
				<a href="./"><img src="images/icon_sitemap.gif" alt="Sitemap" width="13" height="13" id="sitemap" /></a>
				<a href="./"><img src="images/icon_contact.gif" alt="Contact" width="13" height="13" id="contact" /></a>			</div><!-- icons -->
			<div id="slogan">your slogan could go here</div>
		</div>
		<!-- headerimage -->
	</div>
	<!-- header -->
	<div id="content">
		<div id="cA">
            <div id="search" style="margin-top: 35px;">
                <center>Panel de Administraci&oacute;n de la cuenta</center>			
	   </div>       
<div class="widget">
    <ol class="widget-list" id="acceso">
        
      <%
      String PERMISO=request.getSession().getAttribute("PERMISO")+"";   
      if(PERMISO.equals("1")){
      %>  
      <li>
        <a class="widget-list-link">
          <span>USUARIO</span>
        </a>
      </li>
      <%
      }else if(PERMISO.equals("2")){
      %>
      <li>
        <a class="widget-list-link">
         <span>ADMINISTRADOR</span>
        </a>
      </li>
      <%
      }else if(PERMISO.equals("3")){
      %>
      <li>
        <a class="widget-list-link">
          <span>SUPERADMINISTRADOR</span>
        </a>
      </li>
      <%}%>
        <li>
        <a class="widget-list-link">
          <span>Altimo Acceso al sistema</span>
            <%=request.getSession().getAttribute("FECHAACCESO")%>
        </a>
      </li>
    </ol>

    <ol class="widget-list" id="software">
        
      <%
      String software=request.getSession().getAttribute("APLICACIONES")+"";   
      if(software.equals("4")){
      %>  
      <li>
        <li>
          <a href="CrearUsuarioSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/agregar-usuarios-icono-3782-16.png" style="border-color: #ffffff"/></td>
                  <td>Crear Usuario del Sistema</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="IngresoEstudiante.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/carpeta-usuarios-icono-9093-16.png" style="border-color: #ffffff"/></td>
                  <td>Ingresar Estudiante</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="IngresoDesercion.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/el-informe-del-usuario-icono-9444-16.png" style="border-color: #ffffff"/></td>
                  <td>Ingresar Datos Deserci&oacute;n</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="CrearUserSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/eliminar-una-marca-azul-icono-7559-16.png" style="border-color: #ffffff"/></td>
                  <td>Ingresar Desertores</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="CrearUserSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/agregar-dinero-icono-4195-16.png" style="border-color: #ffffff"/></td>
                  <td>Ingresar Apoyo Econ&oacute;mico</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="CrearUserSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/nuevo-favorito-icono-7277-16.png" style="border-color: #ffffff"/></td>
                  <td>Ingresar Apoyo Academico</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="CrearUserSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/construccion-de-anadir-icono-5620-16.png" style="border-color: #ffffff"/></td>
                  <td>Agregar Colegio</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="CrearUserSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/anadir-mundo-icono-7626-16.png" style="border-color: #ffffff"/></td>
                  <td>Agregar Pais</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="CrearUserSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/mapa-anadir-icono-6656-16.png" style="border-color: #ffffff"/></td>
                  <td>Agregar Departamento</td>
              </tr>
          </table>
         </a>
      </li>
      <li>
          <a href="CrearUserSistema.jsp" class="widget-list-link2">
          <table>
              <tr>
                  <td><img src="img/anadir-usuario-icono-9777-16.png" style="border-color: #ffffff"/></td>
                  <td>Agregar Ciudad o Municipio</td>
              </tr>
          </table>
         </a>
      </li>
      </li>
      <%
      }else if(software.equals("3")){
      %>
      <li>
        <a class="widget-list-link">
          <span>tres aplicaciones</span>
        </a>
      </li>
      <%
      }else if(software.equals("2")){
      %>
      <li>
        <a class="widget-list-link">
          <span>dos aplicaciones</span>
        </a>
      </li>
      <%
      }else if(software.equals("1")){
      %>
      <li>
        <a class="widget-list-link">
          <span>una aplicacion</span>
        </a>
      </li>
     <%}%>
    </ol>

    <ol class="widget-list" id="usuario">
      <li>
        <a class="widget-list-link"> 
            <span>Identificaci&oacute;n</span>    
        <%String IDENTIFICADOR=request.getSession().getAttribute("ID")+"";
        if(IDENTIFICADOR.equals("null")){
        response.sendRedirect("index.jsp");                
        }else{
        out.println(IDENTIFICADOR);
        }
        %>            
        </a>
      </li>
      <li>
        <a class="widget-list-link">
        <span>Nombre Usuario</span>
        <%=request.getSession().getAttribute("NOMBRE")%>
        <%=request.getSession().getAttribute("APELLIDO")%>
        </a>
      </li>
      <li>
        <a class="widget-list-link">
        <span>Actividad</span>
        <%=request.getSession().getAttribute("CARGO")%>
        </a>
      </li>
    </ol>

    <ul class="widget-tabs">
      <li class="widget-tab">
        <a href="#acceso" class="widget-tab-link">Acceso</a>
        <!-- Omitting the end tag is valid HTML and removes the space in-between inline blocks. -->
      <li class="widget-tab">
        <a href="#software" class="widget-tab-link">Sistema</a>
      <li class="widget-tab">
        <a href="#usuario" class="widget-tab-link">Usuario</a>
    </ul>
  </div>
           <div id="search" style="margin-top: 35px;">
	
	   </div><!-- search -->      
                </div><!-- cA -->
                
		<div id="cB">
                    <form action="ProcesarUsuarioSistema" method="get">
                    <center> <h1 style="font-size: 20px; margin-top: 10%;">Insertar nuevo Usuario del Sistema</h1> </center>
                    <div class="formulario"><table border="0px">
                        <tr>
                            <td><span class="widget-tab-link">Identificaci&oacute;n</span></td>
                            <td><input type="text" name="IdUser"></td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">Contrase&ntilde;a</span></td>
                            <td><input type="text" name="PassUser"></td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">Nombre</span></td>
                            <td><input type="text" name="NombreUser"></td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">Apellido</span></td>
                            <td><input type="text" name="ApellidoUser"></td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">E-mail</span></td>
                            <td><input type="text" name="EUser"></td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">Cargo</span></td>
                            <td><input type="text" name="CargoUser"></td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">Permiso</span></td>
                            <td>
                                <select name="PermisoUser">
                                <option value="1">Usuario</option>
                                <option value="2">Administrador</option>
                                <option value="3">SuperAdministrador</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">Estado</span></td>
                            <td>
                                <select name="EstadoUser">
                                <option value="1">Activo</option>
                                <option value="2">Inactivo</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td><span class="widget-tab-link">Aplicaciones</span></td>
                            <td>
                                <select name="AplicacionUser">
                                <option value="1">VideoBeam</option>
                                <option value="2">SECDUX</option>
                                <option value="4">Deserta</option>
                                <option value="5">VideoBeam-SECDUX</option>
                                <option value="6">VideoBeam-Deserta</option>
                                <option value="7">SECDUX-Deserta</option>
                                <option value="8">Todas</option>
                                </select>    
                            </td>
                        </tr>
                            <tr>
                                <td>&nbsp;</td>
                                <td>&nbsp;</td>
                            </tr>
                            <tr>
                                <td></td>
                                <td><input type="submit" value="Ingresar Informaci&oacute;n"></td>
                            </tr>
                    </table>
                        </form>
                        </div>
			
		</div><!-- cB -->
		<div class="Cpad">
			<br class="clear" />
                        <!--<div class="Cbottomleft"></div>-->
                        <!--<div class="Cbottom"></div>-->
                        <!--<div class="Cbottomright"></div>-->
		</div><!-- Cpad -->
	</div><!-- content -->
	<div id="properspace"></div><!-- properspace -->
</div><!-- daddy -->
<div id="footer">
	<div id="foot">
		<div id="foot1"><a href="./">Privacy Policy</a> - <a href="./">Terms Of Use</a></div><!-- foot1 -->
		<div id="foot2">
			<span class="valid">Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> + <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></span>Copyright 2007, Your Company. Designed by <a href="http://www.symisun.com/" title="We digitalize your ambitions">SymiSun<span class="star">*</span></a>
		</div><!-- foot1 -->
	</div><!-- foot -->
</div><!-- footer -->
</body>
</html>
